{{block "title" .}}{{.Asset.Title}} - RAIS S3 Demo{{end}}

{{block "content" .}}
<h1>{{.Asset.Title}}</h1>
<div id="openseadragon1" style="width: 1200px; height: 600px;"></div>
{{end}}

{{block "extrajs" .}}
<script type="text/javascript">
  var viewer = OpenSeadragon({
    id: "openseadragon1",
    prefixUrl: "/osd/images/",
    tileSources: "/iiif/{{.Asset.IIIFID}}/info.json",
    showNavigator: true,
    sequenceMode: true,
    showNavigator: true,
  });
</script>
{{end}}
